package com.bailan.foreat.vo;

import com.bailan.foreat.entity.Product;
import lombok.Data;

@Data
public class ProductVo extends Product {
    /*
     * typeName 类别名称
     */
    private String typeName;

    public ProductVo() {
    }


    @Override
    public String toString() {
        return "ProductVo{" +
                "id=" + this.getId() +
                ", productName='" + this.getProductName() + '\'' +
                ", productImg='" + this.getProductImg() + '\'' +
                ", productPrice=" + this.getProductPrice() +
                ", type=" + this.getType() +
                ", stockCount=" + this.getStockCount() +
                ", buyCount=" + this.getBuyCount() +
                ", storeId=" + this.getStoreId() +
                ", status=" + this.getStatus() +
                ", typeName=" + typeName +
                '}';
    }
}
